package com.sc.VenusQueryBeta.contract.hotel.tabs;

import com.sc.VenusQueryBeta.contract.home.tabs.BaseTabsContract;
import com.sc.VenusQueryBeta.model.bean.home.HotelPriceBean;

import io.reactivex.Observable;

/**
 * 酒店价格契约
 */

public interface PriceContract {
    abstract class PricePresenter extends BaseTabsContract.BaseTabsPresenter<IPriceModel,IPriceView,Object>{
        /**
         * 獲取房型價格數據
         */
        public abstract void getHotelPriceData(int vipClubId);
    }
    interface IPriceModel extends BaseTabsContract.IBaseTabsModel{
        /**
         * 獲取code類型
         * @param vipClubId
         * @return
         */
        Observable<HotelPriceBean> getHotelPrice(int vipClubId);
    }
    interface IPriceView extends BaseTabsContract.IBaseTabsView<Object>{
        /**
         * 显示banner数据
         * @param  hotelPriceBean'
         */
        void showHotelPriceDataSuccess(HotelPriceBean hotelPriceBean);

        /**
         * 显示网络错误
         */
        void showNetworkError();
    }
}
